package com.example.web;

import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.GetMapping;

@RestController
@EnableAutoConfiguration
public class IndexController {
    @GetMapping("/")
    @ResponseBody
    public String index() {
        return "Hello World";
    }
}
